package com.lujianfei.powerinput.ui.noteList.base;

import android.app.Activity;
import android.content.Intent;
import android.widget.LinearLayout;

import com.lujianfei.powerinput.database.NoteItemFieldModel;
import com.lujianfei.powerinput.database.NoteItemModel;

import java.util.List;

public interface NoteListViewContract {
    interface View{

        Activity currentActivity();

        void updateList(List<NoteItemFieldModel> noteItemFieldModels);
    }
    interface Presenter{

        void init();

        void onActivityResult(int requestCode, int resultCode, Intent data);

        void setData(NoteItemModel data);

        void onDestroy();
    }
}
